let env = 'dev';//正式
env = 'prod';//本地
var localhost = 'localhost',
	port = '3000',
	barItem = [
		{
			"id":1,
			"name":"首页",
			"router":"home"
		},
		{
			"id":4,
			"name":"关于",
			"router":"about"
		},
	],
	//管理员topbar
	adminBarItem = [
		{
			"id":1,
			"name":"首页",
			"router":"home"
		},
		{
			"id":2,
			"name":"分类",
			"router":"classification"
		},
		{
			"id":3,
			"name":"标签",
			"router":"tag"
		},
		{
			"id":4,
			"name":"关于",
			"router":"about"
		},
	],
	//链接地址
	linklists = [
		{
			name:"CSDN",
			address:"https://blog.csdn.net/Twinkle_sone",
			img:require("./src/assets/rightbar/csdn.png")
		},
		{
			name:"Github",
			address:"https://github.com/yongtaozheng?tab=repositories",
			img:require("./src/assets/rightbar/github.png")
		},
		{
			name:"Github镜像",
			address:"https://hub.fastgit.org/yongtaozheng",
			img:require("./src/assets/rightbar/github.png")
		},
		{
			name:"Gitee",
			address:"https://gitee.com/zheng_yongtao",
			img:require("./src/assets/rightbar/gitee.png")
		}
	];
if(env == 'dev'){
	localhost = '120.79.163.94'
}


module.exports = {
  //服务器地址
  localhost:localhost,
  // localhost:'120.79.163.94',
  port:port,
  //未登录topbar
  barItem:barItem,
  //管理员topbar
  adminBarItem:adminBarItem,
  //链接地址
  linklists:linklists
}
